package work4;

/**
 * 角色父类
 */

public abstract  class Role {
    private String name;
    private  int  level;
    private  String selflntroduce;

    public Role() {
    }

    public Role(String name, int level, String selflntroduce) {
        this.name = name;
        this.level = level;
        this.selflntroduce = selflntroduce;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getSelflntroduce() {
        return selflntroduce;
    }

    public void setSelflntroduce(String selflntroduce) {
        this.selflntroduce = selflntroduce;
    }
}
